package com.eastfair.certificate.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.certificate.enumeration.FormFieldGroupFieldTypeEnum;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 动态表单组
 * </p>
 *
 * @author ligang
 * @since 2023-05-17
 */
@Data
@ApiModel(value = "FormFieldGroupUpdateDTO", description = "动态表单组")
public class FormFieldGroupDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @Size(max = 255, message = "名称长度不能超过255")
    private String name;
    /**
     * 语言环境
     */
    @ApiModelProperty(value = "语言环境")
    @Size(max = 16, message = "语言环境长度不能超过16")
    private String languageType;
    /**
     * 对象类名
     */
    @ApiModelProperty(value = "对象类名")
    @Size(max = 256, message = "对象类名长度不能超过256")
    private String className;
    /**
     * 动态表单对象类名
     */
    @ApiModelProperty(value = "动态表单对象类名")
    @Size(max = 256, message = "动态表单对象类名长度不能超过256")
    private String formClassName;
    /**
     * 表单类型 #{PERSONAL:个人;COMPANY:公司;CERTIFICATE:制证;}
     */
    @ApiModelProperty(value = "表单类型 #{PERSONAL:个人;COMPANY:公司;CERTIFICATE:制证;}")
    private FormFieldGroupFieldTypeEnum fieldType;
    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
}
